{#党铭均#}
{% extends 'index.html' %}
{% block content %}
<br><br><br><br><br>
<h1>请用户登陆：</h1>
<br><br><br><br><br>
<div style=" text-align:center;">
    <form action="/login/" method="POST">
        {% csrf_token %}
        账号：<input type="text" name="username" />
        <br><br><br>
        密码：<input type="password" name="password" />
        <br><br><br>
        <button type="submit">登录</button>
        <p style="color: red">{{ login_error }}</p>
    </form>

</div>
    {% if results %}
				<h2>{{ results }}</h2>
			{% endif %}

{% endblock %}
